#include "math.h"
#include "draw.h"

extern void myPrintfDebug (int, char);


void draw ()
{
  int rowOff = 12;
  double rowScale = 100.0;
  double colScale = 10.0;

  for (int i=0; i<31; i++)
    {
      double result = sin (i/colScale)*rowScale;
      int row = (int)result + rowOff;
    int pos = (row*80+i)*2;
    myPrintfDebug (pos, 'a');
  }
    
  myPrintfDebug (0, 'M');

  return;
}
